p.test1 {
  white-space: nowrap;
  width: 200px;
  border: 1px solid #000000;
  overflow: hidden;
  text-overflow: clip;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  margin-bottom: 20px;
  padding: 5px;
}

p.test2 {
  white-space: nowrap;
  width: 200px;
  border: 1px solid #000000;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  writing-mode: vertical-rl;
  margin-bottom: 20px;
  padding: 5px;
}

span.test2 {
  writing-mode: vertical-rl;
  border: 1px solid #000;
  padding: 5px;
  display: inline-block;
  margin-top: 20px;
}

/* Permite que div con clase test muestre contenido overflow visible al pasar mouse */
div.test:hover {
  overflow: visible;
}

p {
  word-wrap: break-word;
}
